package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Tourist;
import java.util.List;

public interface TouristMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Tourist record);

    Tourist selectByPrimaryKey(Long id);

    List<Tourist> selectAll();

    int updateByPrimaryKey(Tourist record);

    /**
     * 根据目的地id查询景点
     * @param destId
     * @return
     */
    List<Tourist> selectByDestId(Long destId);
}